﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using MISAPP.Classify.DataAccess;
using System.Data;

namespace MISAPP.Classify.Service
{
    public class Service_KPI:Service_Matrix
    {
        protected DA_KPI da = null;

        protected DA_KPI DA
        { 
            get
            {
                if (da == null)
                {
                    da = new DA_KPI();
                }
                return da;
            }        
        }

        public bool Insert(string p_fileName,string p_user,string p_team) 
        {
            DA.Insert(p_fileName, p_user, p_team);
            return false;
        }

        public System.Data.DataTable GetData()
        {
            return DA.GetData();
        }

        public List<Squared> GetKPISheet(string p_level)
        {
            return GetParameterValue(DA, new object[] { p_level });
        }

    }
}
